repo: Add OstreeRepoRemoteChange replace operation
authorDan Nicholson <nicholson@endlessm.com>
Tue, 12 Sep 2017 17:23:31 +0000 (12:23 -0500)
committerAtomic Bot <atomic-devel@projectatomic.io>
Fri, 8 Feb 2019 14:36:41 +0000 (14:36 +0000)
commit15ba2007a1d0e009eb0a0536a872adc46651166b
tree455927fb6c311290c672af96e2c5a28fbb21a21f
parent6e935ee26fc9bf8629100a0f949b550971a25108
repo: Add OstreeRepoRemoteChange replace operation

Add the OSTREE_REPO_REMOTE_CHANGE_REPLACE operation to the
OstreeRepoRemoteChange enum. This operation will add a remote or replace
an existing one. It respects the location of the remote configuration
file when replacing and the remotes config dir settings when adding a
new remote.

Closes: #1166
Approved by: cgwalters
src/libostree/ostree-repo.c
src/libostree/ostree-repo.h
tests/test-remotes-config-dir.js